import request from '../request'

// 项目经历相关接口
// 查询项目经历列表
export const getProjectExperienceList = () => {
	return request.get('/business/resumeProjectExperience/list')
}

// 获取项目经历详细信息
export const getProjectExperienceDetail = (id) => {
	return request.get(`/business/resumeProjectExperience/${id}`)
}

// 新增项目经历
export const addProjectExperience = (params) => {
	return request.post('/business/resumeProjectExperience', params)
}

// 修改项目经历
export const updateProjectExperience = (params) => {
	return request.put('/business/resumeProjectExperience', params)
}

// 删除项目经历
export const deleteProjectExperience = (ids) => {
	return request.delete(`/business/resumeProjectExperience/${ids}`)
}

// 根据个人信息生成单个项目经历
export const generateProjectExperienceDescription = (params) => {
	return request.get(`/business/resumeProjectExperience/generateOne`,params)
} 